<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">

	<ul class="nav nav-tabs">
		<li><a class="nav-link" href="{:url('case/add')}">添加公司团队</a></li>
        <li class="active"><a class="nav-link active" href="{:url('case/index')}">公司团队列表</a></li>
    </ul>
    
	
	<div class="row">
		<div class="col-md-12">
			<div class="card-body">
			
			    <form method="post" class="js-ajax-form margin-top-20" action="{:url('case/listOrder')}">
			        <div class="table-actions">
			            <!-- <button class="btn btn-primary btn-sm js-ajax-submit" type="submit">{:lang('SORT')}</button> -->
			        </div>
			        <php>
			            $status = [
			                '隐藏',
			                '开启'
			            ];
			        </php>
			        <ul class="pagination">{$page|default=''}</ul>
			        <table class="table table-hover table-bordered">
			            <thead>
			            <tr>
			                <th width="50">ID</th>
			                <th width="150" style="text-align: center;">姓名</th>
			                <th width="150" style="text-align: center;">职位</th>
			                <th width="150" style="text-align: center;">照片</th>
			                <th width="160" style="text-align: center;">{:lang('ACTIONS')}</th>
			            </tr>
			            </thead>
			            <tbody>
			            <foreach name="result" item="vo" key='k'>
			                <tr>			 
			                	<td>{$k+1}</td>    
			                    <td style="text-align: center;">{$vo.user_name}</td>			                
			                    <td style="text-align: center;">{$vo.user_job}</td>
			                    <td style="text-align: center;">
			                        <if condition="!empty($vo['user_img'])">

			                         
			                                <!-- <i class="fa fa-photo fa-fw"></i> -->
			                                <img src="./effect/upload_xiaoguotu/{$vo.user_img}" alt="" style="width: 80px;height: 80px;">
			                           
			
			                        </if>
			                    </td>
			               
			                    <td style="text-align: center;">
			                        <a href="{:url('case/edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
			                        <a href="{:url('case/delete',array('id'=>$vo['id']))}"
			                           class="js-ajax-delete">{:lang('DELETE')}</a>
			                        
			                    </td>
			                </tr>
			            </foreach>
			            </tbody>
			        </table>
			        <ul class="pagination">{$page|default=''}</ul>
			    </form>
			

			</div>
		</div>
	</div>
</div>
</body>
<block name="script">

<script src="__STATIC__/js/admin.js"></script>

</block>